package com.qiaofang.collectmanage.stub.constants;
/**
 * @Author: yi.li
 */
public  enum CollectRuleResponseCode {
    RC_PARAMETER_ERROR("collectrule001","parameter invalid"),
    RC_EXCEPTION_ERROR("collectrule002","service exception"),
    CODE_404("CODE_404","采集规则不存在"),
    RC_SAVE_ERROR("collectrule100","保存数据失败"),
    RC_UPDATE_ERROR("collectrule101","更新数据失败"),
    RC_UPDATE_BATCH_ERROR("collectrule103","批量更新数据失败"),
    ADD_COLLECTRULE_DUPLICATE("addCollectRuleDuplicate","请先删除采集规则，再添加新规则"),
    RC_REMOVE_ERROR("collectrule102","删除数据失败"),
    RC_EXTEND_CITY_ERROR("collectrule103","对通用网站扩展失败"),
    INVALID_COLLECT_TYPE("INVALID_COLLECT_TYPE","不合法的采集类型"),
    INVALID_BELONGER("INVALID_BELONGER","不合法的归属类型"),
    INVALID_HOUSE_TYPE("INVALID_HOUSE_TYPE","不合法的房屋类型"),
    COLLECT_FAIL("COLLECT_FAIL","采集失败"),
    COLLECT_TIMEOUT("COLLECT_TIME","采集超时");
	private String responseCode;
    private String responseMessage;

    CollectRuleResponseCode(String responseCode, String responseMessage){
        this.responseCode = responseCode;
        this.responseMessage = responseMessage;
    }

    public String getResponseCode() {
        return responseCode;
    }

    public void setResponseCode(String responseCode) {
        this.responseCode = responseCode;
    }

    public String getResponseMessage() {
        return responseMessage;
    }

    public void setResponseMessage(String responseMessage) {
        this.responseMessage = responseMessage;
    }
    
}
